#ifndef CSVFORMATEXCEPTION_H__
#define CSVFORMATEXCEPTION_H__

#include "CustomException.h"
#include <string>
#include <sstream>

using namespace std;
class CsvFormatException: public CustomException {

public:

	CsvFormatException(int line){
		this->type = CustomException::ERROR;
		string msg;
		std::stringstream out;
		out << line;
		msg = "Error en el archivo csv en la linea: ";
		msg.append(out.str());
		this->message =  const_cast<char*> (msg.c_str());
	}
};

#endif
